package czk.concrent.lockSupport;

import java.util.concurrent.locks.LockSupport;

/**
 * @Author:ChenZhangKun
 * @Date: 2022/9/19 15:47
 */
public class LockSupportDemo5 {
    public static void main(String[] args) {
        System.out.println("123");
        // parkUntil(long deadline)功能一样入参增加一个Object对象，用来记录导致线程阻塞的阻塞对象，
        // 方便进行问题排查
        LockSupport.parkUntil(LockSupportDemo5.class,12);
        System.out.println("234");
    }
}
